package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.HsVillage;

/**
 * 小区Service接口
 * 
 * @author asher
 * @date 2021-11-08
 */
public interface IHsVillageService 
{
    /**
     * 查询小区
     * 
     * @param villageId 小区主键
     * @return 小区
     */
    public HsVillage selectHsVillageByVillageId(Long villageId);

    /**
     * 查询小区列表
     * 
     * @param hsVillage 小区
     * @return 小区集合
     */
    public List<HsVillage> selectHsVillageList(HsVillage hsVillage);

    /**
     * 新增小区
     * 
     * @param hsVillage 小区
     * @return 结果
     */
    public int insertHsVillage(HsVillage hsVillage);

    /**
     * 修改小区
     * 
     * @param hsVillage 小区
     * @return 结果
     */
    public int updateHsVillage(HsVillage hsVillage);

    /**
     * 批量删除小区
     * 
     * @param villageIds 需要删除的小区主键集合
     * @return 结果
     */
    public int deleteHsVillageByVillageIds(Long[] villageIds);

    /**
     * 删除小区信息
     * 
     * @param villageId 小区主键
     * @return 结果
     */
    public int deleteHsVillageByVillageId(Long villageId);
}
